package com.scwatch.ext.service;

import com.scwatch.ext.domain.Advertisement;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

public interface AdvertisementService {

     Page<Advertisement> findAll(Integer siteId, Map<String, String[]> params, Pageable pageable);

    Advertisement get(Integer id);

    Advertisement save(Advertisement bean);

    Advertisement update(Advertisement bean);

    Advertisement[] delete(Integer[] ids);


}
